<?php
abstract class BMSC_Db
{
	protected $_readerDb;
	protected $_writerDb;

	function __construct($readerDb, $writerDb)
	{
		if (($readerDb === null) || ($writerDb === null) || (!$readerDb instanceof Zend_Db_Adapter_Abstract) || (!$writerDb instanceof Zend_Db_Adapter_Abstract))
			throw new Exception("$readerDb, $writerDb must be of type Zend_Db_Adapter_Abstract.");

		$this->_readerDb = $readerDb;
		$this->_writerDb = $writerDb;
	}
}
?>